<%@ page language="java" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";

%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">
    <title></title>
</head>
<body>
<div id="login">
    <form id="loginform" name="loginform" method="post" action="./loginServlet">
        <div>
            <strong>登录名：</strong><input name="txtUser" id="txtUser" size="15"
                                        value=""/>
        </div>
        <div>
            <strong>密 码：</strong><input name="txtPassword" type="password"
                                        id="txtPassword" size="15" value=""/>
        </div>
        <div>
            <input type="submit" value="登录" name="submit" class="picbut"/> <input
                name="reg" type="button" value="注册用户" class="picbut"
                onclick="javascript:location.href=('register.jsp');"/>
        </div>
    </form>
</div>

<br>
</body>
</html>
